package com.igoal.web.validator;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

public class FileUploadValidator implements Validator {

	@SuppressWarnings("rawtypes")
	public boolean supports(Class clazz) {
		return FileUploadable.class.isAssignableFrom(clazz);
	}

	public void validate(Object target, Errors errors) {
		FileUploadable file = (FileUploadable)target;

	}

}
